package ligne2vie.topos.client.gwt.proxy;

import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Event;
import com.google.gwt.user.client.ui.DecoratedStackPanel;

/**
 * The class {@link MyDecoractedStackPanel} provides a reviewed implementation of the {@link DecoratedStackPanel},
 * proposing new implementation of certain methods.
 * 
 * @author thuguerre
 * @since 1.0.0
 */
public class MyDecoractedStackPanel extends DecoratedStackPanel {

	  @Override
	  public void onBrowserEvent(Event event) {
	    if (DOM.eventGetType(event) != Event.ONCLICK) {
	    	super.onBrowserEvent(event);  
	    }
	  }
}
